package com.cloud.feign.service.impl;

import com.cloud.feign.service.FeignClientService;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

/**
 * 2020/3/18
 * FeignClientServiceImpl
 *
 * @author machuanpeng
 */
@Service
public class FeignClientServiceImpl implements FeignClientService {

    @Override
    public String homeFeignService(String name) {
        return "hi," + name + ",sorry,homeFeignService,error!";
    }

    @Override
    public String uploadFileFeignService(MultipartFile file) {
        return "sorry,uploadFileFeignService,error!";
    }
}
